axios.defaults.baseURL = 'https://hmajax.itheima.net'

function render(msg) {
    const toastDOM = document.querySelectors('.my-toast')
    const toast = new bootstrap.Toast(toastDOM)
    document.querySelector('.toast-body').innerHTML = msg
    toast.show()
}
